import request from "@/utils/request";

// 查询土的颗粒分析记录列表
export function listTgTdklfxjlbBsInfo(query) {
  return request({
    url: "/report_tg/tgTdklfxjlbBsInfo/list",
    method: "get",
    params: query
  });
}

// 查询土的颗粒分析记录详细
export function getTgTdklfxjlbBsInfo(excelId) {
  return request({
    url: "/report_tg/tgTdklfxjlbBsInfo/" + excelId,
    method: "get"
  });
}

// 新增土的颗粒分析记录
export function addTgTdklfxjlbBsInfo(data) {
  return request({
    url: "/report_tg/tgTdklfxjlbBsInfo",
    method: "post",
    data: data
  });
}

// 计算 土的颗粒分析记录
export function computeTgTdklfxjlbBsInfo(data) {
  return request({
    url: "/report_tg/tgTdklfxjlbBsInfo/compute",
    method: "put",
    data: data,
    notInterval: true
  });
}
// 修改土的颗粒分析记录
export function updateTgTdklfxjlbBsInfo(data) {
  return request({
    url: "/report_tg/tgTdklfxjlbBsInfo",
    method: "put",
    data: data
  });
}

// 删除土的颗粒分析记录
export function delTgTdklfxjlbBsInfo(excelId) {
  return request({
    url: "/report_tg/tgTdklfxjlbBsInfo/" + excelId,
    method: "delete"
  });
}
